package com.xbongbong.pro.opportunity.pojo;

import com.xbongbong.paas.domain.entity.PaasStageEntity;
import com.xbongbong.saas.domain.entity.ext.OpportunityEntityExt;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
public class JudgeSaleStageSuccessPojo {

    /**
     * 是否需要变更阶段
     */
    private Boolean needChangeStage;
    /**
     * 目标阶段
     */
    private PaasStageEntity targetStage;
    /**
     * 来源阶段
     */
    private PaasStageEntity sourceStage;
    /**
     * 主数据
     */
    private OpportunityEntityExt opportunity;

    public JudgeSaleStageSuccessPojo(Boolean needChangeStage, PaasStageEntity targetStage, PaasStageEntity sourceStage, OpportunityEntityExt opportunity) {
        this.needChangeStage = needChangeStage;
        this.targetStage = targetStage;
        this.sourceStage = sourceStage;
        this.opportunity = opportunity;
    }
}
